home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
stuf12.zip
/
BATSTUFF.APD
< prev
next >
Wrap
Text File
|
1991-09-09
|
10KB
|
217 lines
APPENDIX 1
Errorlevel Codes Returned by BATBOX
Code Key Pressed Code Key Pressed
==== =========== ==== ===========
1 Ctrl-A 2 Ctrl-B
3 Ctrl-C 4 Ctrl-D
5 Ctrl-E 6 Ctrl-F
7 Ctrl-G 8 Ctrl-H
9 Ctrl-I 10 Ctrl-J
11 Ctrl-K 12 Ctrl-L
13 Ctrl-M 14 Ctrl-N
15 Ctrl-O 16 Ctrl-P
17 Ctrl-Q 18 Ctrl-R
19 Ctrl-S 20 Ctrl-T
21 Ctrl-U 22 Ctrl-V
23 Ctrl-W 24 Ctrl-X
25 Ctrl-Y 26 Ctrl-Z
27 ESC 28 Ctrl-\
29 Ctrl-] 30 Ctrl-^
31 Ctrl-_ 32 (space)
33 ! 34 "
35 # 36 $
37 % 38 &
39 ' 40 (
41 ) 42 *
43 + 44 ,
45 - 46 .
47 / 48 0
49 1 50 2
51 3 52 4
53 5 54 6
55 7 56 8
57 9 58 :
59 ; 60 <
61 = 62 >
63 ? 64 @
65 a or A 66 b or B
67 c or C 68 d or D
69 e or E 70 f or F
71 g or G 72 h or H
73 i or I 74 j or J
75 k or K 76 l or L
77 m or M 78 n or N
79 o or O 80 p or P
81 q or Q 82 r or R
83 s or S 84 t or T
85 u or U 86 v or V
87 w or W 88 x or X
89 y or Y 90 z or Z
APPENDIX 2
Errorlevel Codes Produced by INPUT
Code Key Pressed Code Key Pressed
==== =========== ==== ===========
1 Ctrl-A 2 Ctrl-B
3 Ctrl-C 4 Ctrl-D
5 Ctrl-E 6 Ctrl-F
7 Ctrl-G 8 Ctrl-H
9 Ctrl-I 10 Ctrl-J
11 Ctrl-K 12 Ctrl-L
13 Ctrl-M 14 Ctrl-N
15 Ctrl-O 16 Ctrl-P
17 Ctrl-Q 18 Ctrl-R
19 Ctrl-S 20 Ctrl-T
21 Ctrl-U 22 Ctrl-V
23 Ctrl-W 24 Ctrl-X
25 Ctrl-Y 26 Ctrl-Z
27 ESC 28 Ctrl-\
29 Ctrl-] 30 Ctrl-^
31 Ctrl-_ 32 (space)
33 ! 34 "
35 # 36 $
37 % 38 &
39 ' 40 (
41 ) 42 *
43 + 44 ,
45 - 46 .
47 / 48 0
49 1 50 2
51 3 52 4
53 5 54 6
55 7 56 8
57 9 58 :
59 ; 60 <
61 = 62 >
63 ? 64 @
65 A 66 B
67 C 68 D
69 E 70 F
71 G 72 H
73 I 74 J
75 K 76 L
77 M 78 N
79 O 80 P
81 Q 82 R
83 S 84 T
85 U 86 V
87 W 88 X
89 Y 90 Z
91 [ 92 \
93 ] 94 ^
95 _ 96 `
97 a 98 b
99 c 100 d
101 e 102 f
103 g 104 h
105 i 106 j
107 k 108 l
109 m 110 n
111 o 112 p
113 q 114 r
115 s 116 t
117 u 118 v
119 w 120 x
121 y 122 z
123 { 124 |
125 } 126 ~
APPENDIX 3
Colors for INPUT and WRITE
BACKGROUND COLOR + FORGEGROUND COLOR + SPECIAL COLOR
Background Colors Foreground Colors Special
0 Black 0 Black 128 Blink
16 Blue 1 Blue 8 Bright
32 Green 2 Green
48 Cyan 3 Cyan
64 Red 4 Red
80 Magenta 5 Magenta
96 Brown 6 Brown
112 Gray (White) 7 White
Examples:
Gray on Black: 0 + 7 = 7
Bright Blue on Brown: 96 + 1 + 8 = 105
Blinking Red on Green: 32 + 4 + 128 = 164
Blinking Bright White on Red: 64 + 7 + 128 + 8 = 207
APPENDIX 4
Creating .CM1 Files
To play music, you must enter a series of notes into a
command music file (CM1). Using your favorite text editor or
word processor in ASCII mode, create a file with any legal
DOS name and the extension .CM1. Enter notes one per line,
in accordance with the diagram below:
────── F
────── D
────── b
────── g
────── e
c
______ A
______ E
______ C
______ a
______ f
d
Just remember the old sayings from elementary school days:
Every Good Boy Does Fine (EGBDF) and FACE. Note upper and lower
case letters also; the upper case letters denote a higher octave.
In version 1.1, you may also include rests, which are deno-
ted by the letter "r" (upper case also acceptable).
Once you have the tone down, represent the type of note by
the following scale:
whole note = 1
half note = 2
quarter note = 4
eigth note = 8
sixteenth note = @
Finally, you may indicate sharps and flats be including
a "#" or "b" character in the third column, respectively.
Thus, a whole 'c' would be represented as 'c1' while a high
'd' sixteenth would be 'D@'; a quarter c sharp would be represen-
ted as 'c4#'. Each note must be placed on its own line, begin-
ning in column 1. See the enclosed sample .CM1 files for more
help.
If you have problems in some of your songs, try changing
the notes from upper to lower case, and vice-versa.